<?php
$vkId = $_POST['vkId'];
include_once("php/ErrorHandler.php");
include_once("php/DbManager.php");
include_once("php/DbBridge.php");
ErrorHandler::setErrorHandling();
$db = new DbBridge();
$dbManager = new DbManager();
$db->connect();
$user = $dbManager->newUser($db, $vkId);
echo $user;
$db->disconnect();
?>